#include "callcontroller.h"

CallController::CallController(QObject *parent) :
    QObject(parent)
{
}

CallController &CallController::instance()
{
    static CallController interface;
    return interface;
}

void CallController::showLocalVedio(bool s)
{
    emit showLocalVedioSig(s);
}

void CallController::sendSound(bool s)
{
    emit sendSoundSig(s);
}

void CallController::sendVedio(bool s)
{
    emit sendVedioSig(s);
}
void CallController::sendDoc(bool s)
{
    emit sendDocSig(s);
}

void CallController::showInfo(bool s)
{
    emit showInfoSig(s);
}

void CallController::exit()
{
    emit exitSig();
}

void CallController::loseFocus()
{
    emit loseFocusSig();
}

void CallController::aquireFocus()
{
    emit aquireFocusSig();
}

void CallController::updateCellName(QString data)
{
    emit updateCellNameSig(data);
}
